package com.yesep.learn.design.structural.composite;

/**
 * 定义 Component 接口
 */
public interface IFileSystemComponent {
    void add(IFileSystemComponent component);

    void remove(IFileSystemComponent component);

    IFileSystemComponent getChild(int index);

    void display(int depth);
}